package com.mallcloud.mall.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mallcloud.mall.common.core.constant.CacheConstants;
import com.mallcloud.mall.mall.api.entity.MallAdvertisingModel;
import org.springframework.cache.annotation.CacheEvict;

import java.util.List;

/**
 * 系统广告
 */
public interface MallAdvertisingService extends IService<MallAdvertisingModel> {

	List<MallAdvertisingModel> listAdvertising(MallAdvertisingModel dto);

	Boolean saveAdvertising(MallAdvertisingModel dto);

	Boolean updateAdvertising(MallAdvertisingModel dto);

	Boolean removeAdvertisingByIds(List<Long> ids);

    void clearAll();
}
